// *Author：jxx
// *Contact：283591387@qq.com
// *代码由框架生成,任何更改都可能导致被代码生成器覆盖
export default function(){
    const table = {
        key: 'GanttId',
        footer: "Foots",
        cnName: '工单甘特图',
        name: 'GanttChart',
        url: "/GanttChart/",
        sortName: "GanttId"
    };
    const tableName = table.name;
    const tableCNName = table.cnName;
    const newTabEdit = false;
    const key = table.key;
    const editFormFields = {};
    const editFormOptions = [];
    const searchFormFields = {};
    const searchFormOptions = [];
    const columns = [{field:'GanttId',title:'主键Id',type:'int',width:110,hidden:true,readonly:true,require:true,align:'left'},
                       {field:'Product',title:'产品/编辑部',type:'string',width:110,require:true,align:'left'},
                       {field:'Planned_quantity',title:'计划生产数量',type:'int',width:110,require:true,align:'left'},
                       {field:'Completed',title:'完工数量',type:'int',width:110,require:true,align:'left'},
                       {field:'Indicator_value',title:'指标值',type:'decimal',width:110,require:true,align:'left'},
                       {field:'OrderStatus',title:'订单状态',type:'int',width:110,require:true,align:'left'},
                       {field:'StartDate',title:'计划开始日期',type:'datetime',width:150,require:true,align:'left'},
                       {field:'EndDate',title:'计划完成日期',type:'datetime',width:150,require:true,align:'left'},
                       {field:'ProcessRoute',title:'关联的工艺路线',type:'string',width:110,require:true,align:'left'}];
    const detail ={columns:[]};
    const details = [];

    return {
        table,
        key,
        tableName,
        tableCNName,
        newTabEdit,
        editFormFields,
        editFormOptions,
        searchFormFields,
        searchFormOptions,
        columns,
        detail,
        details
    };
}